package cn.messageplus.core.test.server.controller;

import cn.messageplus.core.annotation.PathMapping;
import cn.messageplus.core.util.MpcUtil;

@PathMapping("/chatroom")
public class ChatRoomController {
    @PathMapping("/join")
    public int join(String chatRoomId) {
        return MpcUtil.joinChatRoom(chatRoomId);
    }
}
